package org.noote.shaky.pad;


import org.noote.libs.robot.stepper.StepperRobot_Animation;
import org.noote.libs.robot.stepper.StepperRobot_AnimationStep;

public class Shaky_StepsForAnim extends StepperRobot_Animation {
	
	public Shaky_StepsForAnim(String name)
	{
		super(name);
	}
	
	public void setTShape(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, 0);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 0);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 0);
	}
	
	public void setRight(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, -60);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 90);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 60);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 0);
	}
	
	public void setStand(StepperRobot_AnimationStep step) {
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, -60);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 90);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, -10);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 60);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, -10);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 0);
	}
	
	public void setHello1(StepperRobot_AnimationStep step) {
		
		setRight(step);
		
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 35);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 15);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -70);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -70);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, -90);
	}
	
	public void setHello2(StepperRobot_AnimationStep step) {
		
		setHello1(step);
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, -80);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -65);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -65);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, -45);
	}
	
	public void setPumpHigh(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, 20);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 90);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 8);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 8);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, -20);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -8);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, -8);
	}
	
	public void setPumpLow(StepperRobot_AnimationStep step) {
		
		setPumpHigh(step);
		

		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 50);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 0);

		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -50);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, 0);
	}
	
	public void setSemiPumpHigh(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, 0);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 90);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 10);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -57);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -10);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 57);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 0);
	}
	
	public void setSemiPumpLow(StepperRobot_AnimationStep step) {
		
		setSemiPumpHigh(step);
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, 3);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 45);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, -5);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -50);

		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, -3);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -45);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 5);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 50);
	}
	
	public void setWaitFor(StepperRobot_AnimationStep step) {
		
		setStand(step);
		
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 70);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 70);
		
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, -5);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, -20);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -20);
		
		
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -70);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -70);
		
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 5);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, -20);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, -20);
	}
	
	public void setHulk(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, -50);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 40);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 50);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 2);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, -10);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, -45);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -45);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 50);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -40);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -50);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -2);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 10);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, -45);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, -45);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 0);
	}
	
	public void setPlane(StepperRobot_AnimationStep step) {
		
		step.setPosition(Shaky_Skeleton.HEAD_NECK_1, 0);
		step.setPosition(Shaky_Skeleton.HEAD_NECK_2, 0);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_LEFT, -60);
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		step.setPosition(Shaky_Skeleton.WRIST_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, -90);
		step.setPosition(Shaky_Skeleton.HIP_2_LEFT, -90);
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, -90);
		
		
		step.setPosition(Shaky_Skeleton.SHOULDER_RIGHT, 60);
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.WRIST_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 90);
		step.setPosition(Shaky_Skeleton.HIP_2_RIGHT, 90);
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 90);
	}
	
	public void setWalk1_1(StepperRobot_AnimationStep step) {
		
		setRight(step);

		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 70);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 70);

		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -70);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -70);
	}
	
	public void setWalk1_2l(StepperRobot_AnimationStep step) {
		
		setWalk1_1(step);
		
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 50);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 10);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, -10);
		
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -90);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -90);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 10);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, -10);
	}
	
	public void setWalk1_3l(StepperRobot_AnimationStep step) {
		
		setWalk1_2l(step);
		
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 55);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 17);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, -37);
		
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -85);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -6);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, -14);
	}
	
	public void setWalk1_4l(StepperRobot_AnimationStep step) {
		
		setWalk1_3l(step);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 22);
		
		step.setPosition(Shaky_Skeleton.THIGH_LEFT, -40);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, -40);
	}
	
	public void setWalk1_5l(StepperRobot_AnimationStep step) {
		
		setWalk1_4l(step);

		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 10);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, -10);
		
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, -40);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, -40);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, 10);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, -10);
	}
	
	public void setWalk1_6l(StepperRobot_AnimationStep step) {
		
		setWalk1_5l(step);
		
		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 90);
		step.setPosition(Shaky_Skeleton.ELBOW_LEFT, 90);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 10);
		
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -50);
		step.setPosition(Shaky_Skeleton.ELBOW_RIGHT, -70);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 10);
	}
	
	public void setWalk1_7l(StepperRobot_AnimationStep step) {
		
		setWalk1_6l(step);

		step.setPosition(Shaky_Skeleton.BICEP_LEFT, 85);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, 6);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 14);
		
		step.setPosition(Shaky_Skeleton.BICEP_RIGHT, -55);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -16);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 37);
	}

	public void setWalk1_8l(StepperRobot_AnimationStep step) {
		
		setWalk1_7l(step);

		step.setPosition(Shaky_Skeleton.THIGH_LEFT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_LEFT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -22);
	}
	
	public void setWalk1_9l(StepperRobot_AnimationStep step) {
		
		setWalk1_8l(step);
		
		step.setPosition(Shaky_Skeleton.HIP_1_LEFT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_LEFT, 10);
		
		step.setPosition(Shaky_Skeleton.THIGH_RIGHT, 0);
		step.setPosition(Shaky_Skeleton.KNEE_RIGHT, 0);
		
		step.setPosition(Shaky_Skeleton.HIP_1_RIGHT, -10);
		step.setPosition(Shaky_Skeleton.ANKLE_RIGHT, 10);
	}
}
